import request from '@/utils/request'

export function get(params) {
  return request({
    url: '/manager/infoLabel/pageLabels',
    method: 'post',
    data: params
  })
}

export function getId(id) {
  return request({
    url: '/manager/infoLabel/detail',
    method: 'post',
    data: { id:id }
  })
}

export function delId(id) {
  return request({
    url: '/manager/infoLabel/operate',
    method: 'post',
    data: { id:id, operateType:1 }
  })
}

export function update(params) {
  return request({
    url: '/manager/infoLabel/modify',
    method: 'post',
    data: params
  })
}

export function add(params) {
  return request({
    url: '/manager/infoLabel/create',
    method: 'post',
    data: params
  })
}

